package com.lavegue.model;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * BisType entity. @author MyEclipse Persistence Tools
 */

public class BisType implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Integer editAble;
	private Integer useUsertype;
	private List<BisGroup> bisGroups = new ArrayList<BisGroup>(0);
	private List<BisGroup> bisGroupList = new ArrayList<BisGroup>(0);
	private List<ManageMsg> manageMsgs = new ArrayList<ManageMsg>();
	// Constructors

	/** default constructor */
	public BisType() {
	}

	/** minimal constructor */
	public BisType(String name, Integer editAble, Integer useUsertype) {
		this.name = name;
		this.editAble = editAble;
		this.useUsertype = useUsertype;
	}


	public List<BisGroup> getBisGroupList() {
		return bisGroupList;
	}

	public void setBisGroupList(List<BisGroup> bisGroupList) {
		this.bisGroupList = bisGroupList;
	}

	// Property accessors
	public Integer getId() {
		return this.id;
	}
	
	public List<BisGroup> getBisGroups() {
		return bisGroups;
	}

	public void setBisGroups(List<BisGroup> bisGroups) {
		this.bisGroups = bisGroups;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getEditAble() {
		return this.editAble;
	}

	public void setEditAble(Integer editAble) {
		this.editAble = editAble;
	}

	public Integer getUseUsertype() {
		return this.useUsertype;
	}

	public void setUseUsertype(Integer useUsertype) {
		this.useUsertype = useUsertype;
	}

	public List<ManageMsg> getManageMsgs() {
		return manageMsgs;
	}

	public void setManageMsgs(List<ManageMsg> manageMsgs) {
		this.manageMsgs = manageMsgs;
	}

}